package com.xinyue.game.gateway.local;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * @author 王广帅
 * @since 2023/6/28 20:47
 **/

public class DispatcherRequestHandler extends ChannelInboundHandlerAdapter {

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        if (msg instanceof ByteBuf) {

        } else {
            ctx.fireChannelRead(msg);
        }
    }
}
